﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UCS.ArtificialInteligence.CitiesProblem.Model
{
    public class Border
    {
        #region Attributes and Properties

        private City _from;
        public City From
        {
            get { return _from; }
            set { _from = value; }
        }

        private City _to;
        public City To
        {
            get { return _to; }
            set { _to = value; }
        }

        private int _distance;
        public int Distance
        {
            get { return _distance; }
            set { _distance = value; }
        }

        #endregion

        #region Constructors

        public Border(City from, City to, int distance)
        {
            _from = from;
            _to = to;
            _distance = distance;
        }

        #endregion
    }
}
